package com.meowcook.service;

import java.util.ArrayList;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-11-15
 * Time: 12:08
 */
public interface IMemberService {

    /**
     * 通过sessionId查询会话中的所有成员id
     * @param sessionId 会话id
     * @return 所有成员id
     */
    ArrayList<Long> selectMemberIdsBySessionId(Long sessionId);

    /**
     * 添加未读消息数
     * @param userId 用户id
     * @param sessionId 会话id
     */
    void addUncheckNum(Long userId, Long sessionId);
}
